<include file="Public:header" />

<div id="home">

    <div id="header">

        <div style="height:28px; padding-top:10px; background:url(__PUBLIC__/Front/images/xy.png) 10px 8px no-repeat" class="logo"><span onclick=" history.go(-1);">&nbsp;</span></div>

        <div class="shoptitle">

            <span>{$HEAD_TITLE}</span>

        </div>

        <include file="Public:righttop" />

    </div>

</div>

<style>

    .list-top{
        text-align: center;
        background: #fadc75;
    }
    .list-top img{
        height: 60px;
    }
    .list-money{
        padding: 20px 0;
        width: 100%;
        background: #f8f8f8;
    }
    .list-yongjin{
        background: #FFFFFF;
        text-align: center;
        padding: 15px 0;
        border-radius: 10px;
        width: 40%;
        margin: 0 auto;
    }

    .list-content{
        margin: 20px 10px;
        overflow: hidden;

        background:#fff;
    }
    .list-content table{
        width: 100%;
        border-collapse:collapse;
        color: #666666;
        font-size: 14px;
    }
    .list-content th{
        padding: 20px;
        border-bottom: 1px solid #eaeaea;
    }
    .list-content td{
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid #eaeaea;
    }

    table{
        width:100%;
        border:0;
        height: 50px;
        border:1px solid #d8d8d8;
        background: #fff;

    }

    table td{
        width:50%;
    }

    .default_css{
        border:1px solid #FF6B6B;
    }

</style>

<include file="Public:procat" />

<div id="main" style="">

    <header class="list-top">

        <img src="__PUBLIC__/front/images/brokerage_img/list-img.png" />

    </header>

    <div class="list-money">

        <div class="list-yongjin">

            <p>{$data['num']|default='0'}</p>

        </div>

    </div>


    <nav class="list-content">

        <table>
            <!--三级分佣-->
            <if condition="$flag eq 'm_commission'">
                <tr>
                    <th>会员编号</th>
                    <th>我的几级</th>
                    <th>消费金额</th>
                    <th>分佣金额</th>
                    <th>时间</th>
                </tr>

                <volist name="data['list']" id='data'>
                    <tr>
                        <td>{$data.customer_id}</td>
                        <td>{$data.lvl_num}</td>
                        <td>{$data.commission_total}</td>
                        <td>{$data.commission}</td>
                        <td>  {$data.create_time|date="Y-m-d H:i",###}</td>
                     
                    </tr>
                </volist>

                <elseif condition="$flag eq 'm_manage'" />

                <tr>
                   
                    <th>金额</th>
                    <th>时间</th>
                </tr>

                <volist name="data['list']" id='data'>
                    <tr>                      
                        <td>{$data.money}</td>    
                        <td>{$data.month|date="Y-m",###}</td>
                    </tr>
                </volist>

                <elseif condition="$flag eq 'm_teamdividend'" />

                <tr>
                    <th>单号</th>
                    <th>等级</th>
                    <th>金额</th>
                    <th>时间</th>
                </tr>

                <volist name="data['list']" id='data'>
                    <tr>
                        <td>{$data.dividend_no}</td>
                        <td>{$data.level_title}</td>
                        <td>{$data.money}</td>
                        <td>{:date('Y-m-d H:i', $data.create_time)}</td>
                    </tr>
                </volist>

                <elseif condition="$flag eq 'm_publicrow'" />

                <tr>
                    <th>人数</th>
                    <th>见点奖</th>
                    <th>层级</th>
                    <th>累计金额</th>
                </tr>

                <volist name="data" id='data'>
                    
                    <tr>
                        <td>{$data.dividend_no}</td>
                        <td>{:C('PR_SEEPOINT_RAWARD')}</td>
                        <td>{:C('PR_LIMIT_LEVEL')}</td>
                        <td>{$data}</td>
                    </tr>
                    
                </volist>

            </if>
        </table>
    </nav>

</div>

<include file="Public:footer" />